const {Schema,model} = require('mongoose')

const OrderSchema = new Schema({
	uid:{type:String,index:true},
	did:{type:String,index:true},
	createTime:{type:Date,default:Date.now(),index:true},
	finishTime:{type:Date,index:true},
	start:{type:String,index:true},
	dnt:{type:String,index:true}
})

module.exports = model('order',OrderSchema)